package com.cwz.send.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: w-demo
 * @description: 短信配置属性
 * @author: Wen
 **/
@Data
@NoArgsConstructor
@Component
@ConfigurationProperties("sms")
public class SmsProperties {
	/**
	 * 阿里云服务 keyId
	 */
	private String accessKeyId;

	/**
	 * 阿里云服务秘钥
	 */
	private String accessKeySecret;

	/**
	 * 短信模板代码
	 */
	private String verifyCodeTemplate;
}
